package com.haiyou.consun;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author chenzeke
 * @date 2019/4/30 16:15
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}, scanBasePackages = {"com.haiyou.consun", "com.haiyou.common"})
@EnableDiscoveryClient
public class ConsunApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConsunApplication.class, args);
    }
}
